package com.sunop.comment.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("comment_reply")
public class CommentReplyPO {
    @TableId
    private Integer id;
    @TableField("uid")
    private Integer uid;
    @TableField("content")
    private String content;
    @TableField("to_cid")
    private Integer toCid;
    @TableField("to_name")
    private String toName;
    @TableField("author")
    private String author;
    @TableField("avatar")
    private String avatar;
    @TableField("role")
    private int role;
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("like_num")
    private int like_num;
    @TableField("to_pid")
    private int toPid;
}
